import { applyMiddleware, legacy_createStore as createStore } from 'redux'
import reducer from './reducers'
import ReduxLogger from 'redux-logger'
import ReduxThunk from 'redux-thunk'
import ReduxPromise from 'redux-promise'

const store = createStore(reducer,
    applyMiddleware(ReduxLogger, ReduxThunk, ReduxPromise)
)

export default store
